package com.xingkeduo.dto.transter.storelist;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;

@Data
public class Store_list {
	private String id;//门店ID
	private String office_name;//分公司名称
	private String name;//门店名称
	private String address;//地址
	
	public void covert(JSONObject json) {
		this.id=json.getOrDefault("id", "")==null?"":json.getOrDefault("id", "").toString();
		this.office_name=json.getOrDefault("officeName", "")==null?"":json.getOrDefault("officeName", "").toString();
		this.name=json.getOrDefault("name", "")==null?"":json.getOrDefault("name", "").toString();
		this.address=json.getOrDefault("address", "")==null?"":json.getOrDefault("address", "").toString();
	}
}
